package com.ruoyi.dzzh.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户和公告法规关联对象 dzzh_notice_user
 * 
 * @author cjt
 * @date 2023-05-24
 */
public class DzzhNoticeUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 法规ID */
    @Excel(name = "法规ID")
    private Long noticeId;

    /** 是否已读 */
    @Excel(name = "是否已读")
    private String isread;

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setNoticeId(Long noticeId) 
    {
        this.noticeId = noticeId;
    }

    public Long getNoticeId() 
    {
        return noticeId;
    }
    public void setIsread(String isread) 
    {
        this.isread = isread;
    }

    public String getIsread() 
    {
        return isread;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("noticeId", getNoticeId())
            .append("isread", getIsread())
            .toString();
    }
}
